package com.example.jetpack;

import androidx.lifecycle.LifecycleService;

public class MyService extends LifecycleService {
    private MyServiceObserver myServiceObserver;

    public MyService(){
        myServiceObserver = new MyServiceObserver();
        getLifecycle().addObserver(myServiceObserver);
    }
}
